3.8.16 \(\int \frac {x^{-1+m}}{\sqrt {a+b x}} \, dx\) [716]

Optimal. Leaf size=48 \[ -\frac {2 x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{a} \]

[Out]

-2*x^m*hypergeom([1/2, 1-m],[3/2],1+b*x/a)*(b*x+a)^(1/2)/a/((-b*x/a)^m)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {69, 67} \begin {gather*} -\frac {2 x^m \sqrt {a+b x} \left (-\frac {b x}{a}\right )^{-m} \, _2F_1\left (\frac {1}{2},1-m;\frac {3}{2};\frac {b x}{a}+1\right )}{a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(-1 + m)/Sqrt[a + b*x],x]

[Out]

(-2*x^m*Sqrt[a + b*x]*Hypergeometric2F1[1/2, 1 - m, 3/2, 1 + (b*x)/a])/(a*(-((b*x)/a))^m)

Rule 67

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((c + d*x)^(n + 1)/(d*(n + 1)*(-d/(b*c))^m))
*Hypergeometric2F1[-m, n + 1, n + 2, 1 + d*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[n] && (Intege
rQ[m] || GtQ[-d/(b*c), 0])

Rule 69

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Dist[((-b)*(c/d))^IntPart[m]*((b*x)^FracPart[m]/(
(-d)*(x/c))^FracPart[m]), Int[((-d)*(x/c))^m*(c + d*x)^n, x], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m]
 &&  !IntegerQ[n] &&  !GtQ[c, 0] &&  !GtQ[-d/(b*c), 0]

Rubi steps

\begin {align*} \int \frac {x^{-1+m}}{\sqrt {a+b x}} \, dx &=-\frac {\left (b x^m \left (-\frac {b x}{a}\right )^{-m}\right ) \int \frac {\left (-\frac {b x}{a}\right )^{-1+m}}{\sqrt {a+b x}} \, dx}{a}\\ &=-\frac {2 x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 48, normalized size = 1.00 \begin {gather*} -\frac {2 x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{a} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 + m)/Sqrt[a + b*x],x]

[Out]

(-2*x^m*Sqrt[a + b*x]*Hypergeometric2F1[1/2, 1 - m, 3/2, 1 + (b*x)/a])/(a*(-((b*x)/a))^m)

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 5 in optimal.
time = 3.38, size = 28, normalized size = 0.58 \begin {gather*} \frac {x^m \text {hyper}\left [\left \{\frac {1}{2},m\right \},\left \{1+m\right \},\frac {b x \text {exp\_polar}\left [I \text {Pi}\right ]}{a}\right ]}{\sqrt {a} m} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[x^(-1 + m)/Sqrt[a + b*x],x]')

[Out]

x ^ m hyper[{1 / 2, m}, {1 + m}, b x exp_polar[I Pi] / a] / (Sqrt[a] m)

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{-1+m}}{\sqrt {b x +a}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-1+m)/(b*x+a)^(1/2),x)

[Out]

int(x^(-1+m)/(b*x+a)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)/(b*x+a)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^(m - 1)/sqrt(b*x + a), x)

________________________________________________________________________________________

Fricas [F]
time = 0.32, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)/(b*x+a)^(1/2),x, algorithm="fricas")

[Out]

integral(x^(m - 1)/sqrt(b*x + a), x)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 1.98, size = 31, normalized size = 0.65 \begin {gather*} \frac {x^{m} \Gamma \left (m\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, m \\ m + 1 \end {matrix}\middle | {\frac {b x e^{i \pi }}{a}} \right )}}{\sqrt {a} \Gamma \left (m + 1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+m)/(b*x+a)**(1/2),x)

[Out]

x**m*gamma(m)*hyper((1/2, m), (m + 1,), b*x*exp_polar(I*pi)/a)/(sqrt(a)*gamma(m + 1))

________________________________________________________________________________________

Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)/(b*x+a)^(1/2),x)

[Out]

Could not integrate

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^{m-1}}{\sqrt {a+b\,x}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(m - 1)/(a + b*x)^(1/2),x)

[Out]

int(x^(m - 1)/(a + b*x)^(1/2), x)

________________________________________________________________________________________